.chat-panel {
    height: 100%;
    display: flex;
    flex-flow: column nowrap;

    .ant-tabs {
        height: 100%;

        &>.ant-tabs-nav .ant-tabs-nav-list {
            width: 100%;
            justify-content: space-around;
        }
    }

    .ant-tabs-tab {
        flex: 1;
        justify-content: center;
    }

    .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
        color: var(--primary-strong);
    }

    .ant-tabs-top>.ant-tabs-nav::before {
        border-bottom-color: var(--grey-1);
    }

    .ant-tabs-nav {
        margin-bottom: 0 !important;
    }

    .ant-tabs-content,
    .ant-tabs-tabpane {
        height: 100%;
        outline: 0;
    }

    .ant-tabs-nav-operations {
        position: absolute !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .ReactVirtualized__List {
        outline: none;
    }

    .chat-panel-cc {
        position: absolute;
        bottom: 50px;
        right: 4px;

        .video-avatar-chat-msg-btn {
            width: 40px;
            height: 40px;
            border-radius: 20px;
            border: none;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            pointer-events: all;
        }
    }
}

.chat-panel-header {
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    color: var(--text-strong);
    border-bottom: 1px solid var(--grey-1);
}

.chat-tab-subtitle {
    flex: 1;
    text-align: right;
    font-size: 12px;
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
    user-select: none;
}

.flat-color-scheme-dark {
    .chat-panel {
        .ant-tabs-ink-bar {
            background: var(--primary-strong);
        }

        .ant-tabs-top>.ant-tabs-nav::before {
            border-bottom-color: var(--grey-8);
        }
    }

    .chat-panel-header {
        border-bottom-color: var(--grey-8);
    }
}